package com.bw.liuyushan.mvp_kotlin_lib.View

import android.os.Bundle
import android.os.PersistableBundle
import androidx.appcompat.app.AppCompatActivity
import com.bw.liuyushan.mvp_kotlin_lib.Presenter.IPresenter

/**
 *MyKotlin_FirstMVPTest
 *file name is : BaseActivity
 *created by Ender on 2021/9/14 16:26.
 *author : 刘雨杉
 *Describe:
 */
abstract class BaseActivity <P :IPresenter> :AppCompatActivity(),IActivity,IView{
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(bindLayout())
        initView()
        initDate()

    }

    override fun showDialog() {

    }

    override fun hideDialog() {
    }

}